#include "include.h"

#ifndef __VEC_3D_H__
#define __VEC_3D_H__
struct vec_3d{
  double x,y,z;

  vec_3d(void);
  vec_3d(double x, double y, double z);

  vec_3d operator +(vec_3d a){
    return vec_3d(a.x+x,a.y+y,a.z+z);
  }

  vec_3d operator -(vec_3d a) {
	  return vec_3d(x-a.x, y-a.y,z-a.z);
  }

  vec_3d operator *(double c){
    return vec_3d(c*x, c*y, c*z);
  }
};
#endif

